projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7922131
)
* src/pgtkterm.c (pgtk_flash): Fix input blocking.
author
Po Lu
<luangruo@yahoo.com>
Sun, 23 Jan 2022 00:45:21 +0000
(08:45 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 23 Jan 2022 00:46:19 +0000
(08:46 +0800)
src/pgtkterm.c
patch
|
blob
|
history
diff --git
a/src/pgtkterm.c
b/src/pgtkterm.c
index 8073f51c6102fc766333120f7f78fc8c184d4a31..efbeaafaf1ab2752d1d0733fe7870656a019f4a2 100644
(file)
--- a/
src/pgtkterm.c
+++ b/
src/pgtkterm.c
@@
-3731,12
+3731,12
@@
recover_from_visible_bell (struct atimer *timer)
static void
pgtk_flash (struct frame *f)
{
- block_input ();
-
{
if (!FRAME_CR_CONTEXT (f))
return;
+ block_input ();
+
cairo_surface_t *surface_orig = FRAME_CR_SURFACE (f);
int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f);
@@
-3806,9
+3806,8
@@
pgtk_flash (struct frame *f)
}
cairo_destroy (cr);
+ unblock_input ();
}
-
- unblock_input ();
}
/* Make audible bell. */